package com.ypd.shop.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;

import com.ypd.common.annotation.Excel;
import com.ypd.common.core.domain.BaseEntity;

/**
 * 举报店铺对象 tb_reports
 * 
 * @author lin
 * @date 2024-12-12
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class Reports extends BaseEntity
{

    private static final long serialVersionUID = 1L;

    /**  */
    private Long reportId;

    /** 被举报商铺ID（外键） */
    @Excel(name = "被举报商铺ID", readConverterExp = "外=键")
    private Long propertyId;

    /** 被举报人id */
    @Excel(name = "被举报人id")
    private Long reportedId;

    /** 举报用户ID（外键） */
    @Excel(name = "举报用户ID", readConverterExp = "外=键")
    private Long reportUserId;

    /** 问题描述 */
    @Excel(name = "问题描述")
    private String reportContent;

    /** 处理状态(0未处理,1已处理,2撤销) */
    @Excel(name = "处理状态(0未处理,1已处理,2撤销)")
    private Long status;

    /** 上传凭证照片 */
    @Excel(name = "上传凭证照片")
    private String evidencePhotos;

    /** 举报原因 */
    @Excel(name = "举报原因")
    private Long reportReason;

    /** 对问题进行回复 */
    @Excel(name = "对问题进行回复")
    private String responseAccuse;

    /** 对被举报人进行回复 */
    @Excel(name = "对被举报人进行回复")
    private String responseReported;

    /** 举报时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "举报时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reportTime;

    /** 处理人id */
    @Excel(name = "处理人id")
    private Long adminId;



}
